home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / findlaw.xml < prev    next >
Text File  |  2002-09-27  |  3KB  |  82 lines

  1. <search function="findlaw">
  2.    <name>FindLaw Law Library</name>
  3.    <description>Search FindLaw's Law Library.  Options include Dictionary /dictionary, Author /author, Title /title, Abstract /abstract, and Full Text which is the default.
  4.    <div class="helpboxDescLabels">Example:</div> 
  5.   <table class="helpboxDescTable">
  6.     <tr>
  7.       <td>findlaw adoption</td>
  8.     </tr>
  9.    </table>
  10.    </description>
  11.    <category>Reference</category>
  12.    <link>http://library.lp.findlaw.com/</link>
  13.    <contributor>John W. Bairen, Jr. proxy for David Leighni</contributor>
  14.    
  15.    <form name="findlawf1" action="http://library.lp.findlaw.com/scripts/libsearch.pl" method="get">
  16.       <input type="hidden" name="TYPE" value="CiRestriction" />
  17.       <input type="hidden" name="ENTRY" />
  18.    </form>
  19.  
  20.    <form name="findlawf2" action="http://library.lp.findlaw.com/scripts/authorsearch.pl" method="get">
  21.       <input type="hidden" name="AUTHOR" />
  22.    </form>
  23.  
  24.  
  25.    <form name="findlawf3" action="http://library.lp.findlaw.com/scripts/abstractsearch.pl" method="get">
  26.       <input type="hidden" name="ABSTRACT" />
  27.    </form>
  28.  
  29.    <form name="findlawf4" action="http://library.lp.findlaw.com/scripts/titlesearch.pl" method="get">
  30.       <input type="hidden" name="TITLE" />
  31.    </form>
  32.    
  33.    <form name="findlawf5" action="http://dictionary.lp.findlaw.com/scripts/search.pl" method="GET">
  34.       <input type="hidden" name="s" value="" />
  35.    </form>
  36.  
  37.  
  38.    <script><![CDATA[
  39.       function findlaw(q)
  40.       {
  41.          var args = parseArgs(q, "author, abstract, dictionary, title") ;
  42.          if( q == "" )
  43.             openSearchWindow(" http://library.lp.findlaw.com/") ;
  44.          else if( args.switches.length == 1 )
  45.          {
  46.             switch( args.switches[0].name )
  47.             {
  48.                case "author":
  49.                   document.findlawf2.AUTHOR.value = args.q ;
  50.                   submitForm(findlawf2);
  51.                   break ;
  52.                case "abstract":
  53.                   document.findlawf3.ABSTRACT.value = args.q ;
  54.                   submitForm(findlawf3);
  55.                   break ;
  56.                case "dictionary":
  57.                   document.findlawf5.s.value = args.q ;
  58.                   submitForm(findlawf5);
  59.                   break ;
  60.                case "title":
  61.                   document.findlawf4.TITLE.value = args.q ;
  62.                   submitForm(findlawf4);
  63.                   break ;
  64.                default:
  65.                   document.findlawf1.ENTRY.value = args.q ;
  66.                   submitForm(findlawf1) ;
  67.             }
  68.          }
  69.          else
  70.          {
  71.             document.findlawf1.ENTRY.value = args.q ;
  72.             submitForm(findlawf1);
  73.          }
  74.       }
  75.    ]]></script>
  76.  
  77.   <copyright>
  78.     Copyright (c) 2002 David Bau
  79.     Distributed under the terms of the
  80.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  81.   </copyright>
  82. </search>